import Home from '@/view/home/home'
import homeRouter from './home-router'
const routes = [{
    path: '/',
    name: 'Home',
    redirect: '/about',
    component: Home,
    children: [...homeRouter]
  },
  {
    path: '/login',
    name: 'login',
    component: () => import('@/view/login/login')
  },
  {
    path: '/register',
    name: 'register',
    component: () => import('@/view/login/register')
  },
  {
    path: '/lost-password',
    name: 'lost-password',
    component: () => import('@/view/login/lost-password')
  },
  {
    redirect: '/404',
    path: '*',
  },
]
export default routes
